﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EBA.Logging
{
    /// <summary>
    /// Defines log message structure
    /// </summary>
    public interface ILog
    {
        /// <summary>
        /// The identifier of log
        /// </summary>
        string Id { get; set; }

        /// <summary>
        /// The log name.
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// The level of log
        /// </summary>
        LogLevel Level { get; set; }

        /// <summary>
        /// The message of log
        /// </summary>
        string Message { get; set; }

        /// <summary>
        /// The added datetime of log
        /// </summary>
        DateTime AddedTime { get; set; }

        /// <summary>
        /// the data of log
        /// </summary>
        object Data { get; set; }
    }
}
